package chapter3.No3_1_等待和通知机制.i等待wait的条件发生变化;

/**
 * Created by Administrator on 2016/11/18.
 */
public class ThreadSubtract extends Thread {
    private Subtract r;

    public ThreadSubtract(Subtract r) {
        this.r = r;
    }

    @Override
    public void run() {
        r.subtract();
    }
}
